package com.lwj.mallchat.common.common.thread;

import lombok.extern.slf4j.Slf4j;

/**
 * @author lwj
 * @ClassName MyUncaughtExceptionHandlerThread
 * @date 2024/10/18 17:00
 */
@Slf4j
public class MyUncaughtExceptionHandlerThread implements Thread.UncaughtExceptionHandler {
    @Override
    public void uncaughtException(Thread t, Throwable e) {
        log.error("Exception in thread:",e);
    }
}
